package com.situ.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.situ.domain.entity.TProductCategory;
import com.situ.domain.entity.TProductCategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TProductCategoryMapper extends BaseMapper<TProductCategory> {
    long countByExample(TProductCategoryExample example);

    int deleteByExample(TProductCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TProductCategory record);

    int insertSelective(TProductCategory record);

    List<TProductCategory> selectByExample(TProductCategoryExample example);

    TProductCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TProductCategory record, @Param("example") TProductCategoryExample example);

    int updateByExample(@Param("record") TProductCategory record, @Param("example") TProductCategoryExample example);

    int updateByPrimaryKeySelective(TProductCategory record);

    int updateByPrimaryKey(TProductCategory record);
}